#include<iostream>
#include<conio.h>
#include<stdio.h>
using namespace std;
class CRectangle
{
	int width;
	int height;
public:
	void setvaluse(int,int);
	int area();
};
void CRectangle::setvaluse(int a,int b)
{
	width=a;
	height=b;
}
int CRectangle::area()
{
	return(width*height);
}
int main()
{
	CRectangle *rectb;
	CRectangle *rectc=new CRectangle();
	rectc->setvaluse(8,9);
	rectb=rectc;
	cout<<"area b: "<<rectb->area();
	cout<<"\narea c: "<<rectb->area();
	getch();
	delete rectc;
	return 0;
}